package com.fowo.api.service.handleWork.jindieEntity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class lingXingPurchasePlans {

    @JsonProperty("code")
    private Integer code;
    @JsonProperty("message")
    private String message;
    @JsonProperty("error_details")
    private List<?> errorDetails;
    @JsonProperty("request_id")
    private String requestId;
    @JsonProperty("response_time")
    private String responseTime;
    @JsonProperty("data")
    private List<DataDTO> data;
    @JsonProperty("total")
    private Integer total;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("plan_sn")
        private String planSn;
        @JsonProperty("product_name")
        private String productName;
        @JsonProperty("sku")
        private String sku;
        @JsonProperty("fnsku")
        private String fnsku;
        @JsonProperty("pic_url")
        private String picUrl;
        @JsonProperty("supplier_id")
        private Integer supplierId;
        @JsonProperty("status")
        private Integer status;
        @JsonProperty("sid")
        private Integer sid;
        @JsonProperty("expect_arrive_time")
        private String expectArriveTime;
        @JsonProperty("remark")
        private String remark;
        @JsonProperty("quantity_plan")
        private Integer quantityPlan;
        @JsonProperty("product_id")
        private Integer productId;
        @JsonProperty("group_id")
        private Integer groupId;
        @JsonProperty("cg_uid")
        private Integer cgUid;
        @JsonProperty("is_combo")
        private Integer isCombo;
        @JsonProperty("is_aux")
        private Integer isAux;
        @JsonProperty("spu")
        private String spu;
        @JsonProperty("spu_name")
        private String spuName;
        @JsonProperty("attribute")
        private List<?> attribute;
        @JsonProperty("creator_uid")
        private Integer creatorUid;
        @JsonProperty("wid")
        private Integer wid;
        @JsonProperty("warehouse_name")
        private String warehouseName;
        @JsonProperty("purchaser_id")
        private Integer purchaserId;
        @JsonProperty("status_text")
        private String statusText;
        @JsonProperty("supplier_name")
        private String supplierName;
        @JsonProperty("cg_opt_username")
        private String cgOptUsername;
        @JsonProperty("creator_real_name")
        private String creatorRealName;
        @JsonProperty("file")
        private List<?> file;
        @JsonProperty("plan_remark")
        private String planRemark;
        @JsonProperty("ppg_sn")
        private String ppgSn;
        @JsonProperty("create_time")
        private String createTime;
        @JsonProperty("msku")
        private List<String> msku;
        @JsonProperty("cg_box_pcs")
        private Integer cgBoxPcs;
        @JsonProperty("seller_name")
        private String sellerName;
        @JsonProperty("marketplace")
        private String marketplace;
        @JsonProperty("purchaser_name")
        private String purchaserName;
        @JsonProperty("is_related_process_plan")
        private Integer isRelatedProcessPlan;
    }
}
